#!/bin/bash -l

cd $PBS_O_WORKDIR

get_lock
sqlite3 worka.sql "update work set output='$1' where rowid like $idwork" -cmd ".timeout 1000"
rel_lock
